<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>网上缴费</title>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/main.css" />
	<script type="text/javascript">
		function submitForm()
		{
			document.getElementById("orderForm").submit();
		}
	</script>
  </head>
  
  <body>
<div class="container">
  <div class="page">
    <div class="header">
      <div class="nav"><a href="#"></a><a href="#"></a></div>
    </div>
    <div class="main">
<!--标题1------------------------------------>
    
<!--标题2------------------------------------>
  
      
<!--主体内容------------------------------------>
      <div class="content">
        <!--左侧栏----------->
        <div class="leftbar">
         <a href="/base/group-register.action"><img src="../img/main_info.jpg" alt="基本信息" /></a>
         <a href="javascript:void(0)"><img src="../img/main_pay.jpg" alt="网上缴费" /></a>
         <a href="${ctx}/list.jsp"><img src="../images/list.png" alt="打印回执" /></a>
         <div class="ICP">
          <form>
           <span>广东工业大学</span><br />
           <span>粤ICP证 05008833</span>
          </form>
         </div>
        </div>
        <!--主要内容区----------->
        <div class="maininfo">
          <s:if test="hasActionMessages()">      
	         <s:iterator value="actionMessages">      
	             <script language="JavaScript">      
	                 alert("<s:property escape="false"/>");     
	             </script>      
	         </s:iterator>      
	      </s:if>
        	<s:iterator value="order" >
	          <div class="topinfo">
	              <h3>当前系统：集体支付</h3>
	              <p>订单信息：${OrdId}</p>
	              <p>应缴金额：<s:property value="RMB"/> 元（人民币）</p>
	              
	          </div>
	          <div class="topinfo">
	              <img src="../img/pay_1.png" alt="" /><img src="../img/pay_2.png" alt="" />
				  <input type="submit" style='background-color:#B4CDE6;color:#fff;float:right;cursor:pointer;padding:8px;margin-top:5px;' name="Submit" value="确认支付" onclick="submitForm()" />
	          </div>
	          
	         	<form id="orderForm" action="${ActionUrl }" method="post" > 
					<input type="hidden" name="MerId" value="${MerId}"/>  
					<input type="hidden" name="OrdId" value="${OrdId}"/>
					<input type="hidden" name="OrdAmt" value="${OrdAmt}"/> 
					<input type="hidden" name="CuryId" value="${CuryId }"/> 
					<input type="hidden" name="Version" value="${Version }"/> 
					<input type="hidden" name="BgRetUrl" value="${BgRetUrl }"/> 
					<input type="hidden" name="PageRetUrl" value="${PageRetUrl }"/> 
					<input type="hidden" name="OrdDesc" value="${OrdDesc }"/>
					<input type="hidden" name="ShareType" value="${ShareType }"/>
					<input type="hidden" name="ShareData" value="${ShareData }"/>
					<input type="hidden" name="ChkValue" value="${ChkValue }"/> 
				</form>
			</s:iterator>
		  <br/>
         	我的缴费名单：
          <div class="tablestyle" style='margin-top:10px' >
         	 <form id="mainForm" action="${ctx}/base/temp-register!list.action" method="post">
         	<table id="customers">
	           <tr class="alt">
	           <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">序号</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">学生号</span></div></td>
		        <td width="12%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">身份证号</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">姓名</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">缴费金额</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">操作</span></div></td>
		      </tr>
			<s:iterator value="page.Result" status="status">
		      <tr>
		      	<td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">${status.index+1 +(page.pageNo-1)*page.pageSize}</span></div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${ExamineeNo }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Idnum }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Name }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Amount }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><a href="/base/order-temp!delete.action?id=${id}">删除</a></div></td>
		      </tr>
		     </s:iterator>
			</table>
			</form>
			 
			<br/>
			<br/>
          </div>
           
        </div>
      </div>
      <!--底部----------->
      <!-- <div class="footer">
      </div>
      -->
      <div style="clear:both"></div>
    </div>
  </div>
</div>
  </body>
</html>
